import { createRouter, createWebHistory } from 'vue-router'
import login from '@/views/login/index.vue'
import proyh from '@/views/login/proyh.vue'
import prozh from '@/views/login/prozh.vue'
import proth from '@/views/login/proth.vue'
import progh from '@/views/login/progh.vue'
import proch from '@/views/login/proch.vue'
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/login',
      component: login, children: [
        {
          path: 'proyh',
          component: proyh,
        },
        {
          path: 'prozh',
          component: prozh,
        },
        {
          path: 'proth',
          component: proth,
        },
        {
          path: 'progh',
          component: progh,
        },
        {
          path: 'proch',
          component: proch,
        },
      ]
    },
  ],
})

export default router
